package cn.com.ege.mvc.model.business;

import java.io.Serializable;

public class Category implements Serializable {
	
	private Long id; // 规则下类别的ID
	private Long rule_id; // 规则的ID，外键映射
	private String name; // 规则下类别的名称
	
	public Category(){
	
	}
	
	public Category(String  rule_id, String name){
		this.rule_id = Long.parseLong(rule_id);
		this.name = name;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getRule_id() {
		return rule_id;
	}
	public void setRule_id(Long rule_id) {
		this.rule_id = rule_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
